package com.yyfax.pay.third.model.to.fuioudeposit;

import java.io.Serializable;

import javax.persistence.Transient;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 富友存管查询用户请求参数
 * 
 * @author buyi
 * @date 2017-09-08
 * @since v2.0.7
 */
@SuppressWarnings("serial")
public class FuiouQueryUserInfoReq implements Serializable {

	/** 订单号 */
	@JSONField(name = "ver")
	private String version;

	/** 商户号 */
	@JSONField(name = "mchnt_cd")
	private String merchantId;

	/** 流水号 */
	@JSONField(name = "mchnt_txn_ssn")
	private String queryBusiId;

	/** 待查询的登录帐户列表 */
	@JSONField(name = "user_ids")
	private String accountNos;

	/** 交易日期 */
	@JSONField(name = "mchnt_txn_dt")
	private String tradeDate;

	/** 签名数据 */
	@Transient
	private String signature;

	public static FuiouQueryUserInfoReq newInstance() {
		return new FuiouQueryUserInfoReq();
	}

	public FuiouQueryUserInfoReq version(String version) {
		this.version = version;
		return this;
	}

	public FuiouQueryUserInfoReq merchantId(String merchantId) {
		this.merchantId = merchantId;
		return this;
	}

	public FuiouQueryUserInfoReq queryBusiId(String queryBusiId) {
		this.queryBusiId = queryBusiId;
		return this;
	}

	public FuiouQueryUserInfoReq accountNos(String accountNos) {
		this.accountNos = accountNos;
		return this;
	}

	public FuiouQueryUserInfoReq tradeDate(String tradeDate) {
		this.tradeDate = tradeDate;
		return this;
	}

	public FuiouQueryUserInfoReq signature(String signature) {
		this.signature = signature;
		return this;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getQueryBusiId() {
		return queryBusiId;
	}

	public void setQueryBusiId(String queryBusiId) {
		this.queryBusiId = queryBusiId;
	}

	public String getAccountNos() {
		return accountNos;
	}

	public void setAccountNos(String accountNos) {
		this.accountNos = accountNos;
	}

	public String getTradeDate() {
		return tradeDate;
	}

	public void setTradeDate(String tradeDate) {
		this.tradeDate = tradeDate;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
}
